﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using SNSpirit.Application;

namespace SNSpirit
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : System.Windows.Application
    {
        public App()
        {
            this.Startup += new StartupEventHandler(App_Startup);
        }

        private void App_Startup(object sender, StartupEventArgs e)
        {
            // run
            Application.ApplicationRuntime runtime = new Application.ApplicationRuntime(new Bootstrapper());
            if (!runtime.Run(e.Args))
                this.Shutdown();
        }
    }
}